package io.gitee.tooleek.lock.spring.boot.enumeration;

public enum ZkRetryPolicy {
	
	RETRY_FOREVER("forever"),
	RETRY_NTIMES("ntimes"),
	RETRY_EXPONENTIAL_BACKOFF("exponential_backoff"),
	RETRY_UNTIL_ELAPSED("until_elapsed");

	private String policyName;
	
	private ZkRetryPolicy(String policyName) {
		this.policyName=policyName;
	}
	
	public String getPolicyName() {
		return this.policyName;
	}
	
}
